Sets our main struct and passes it to the parent class.
Creates a new AdwActionRow.
Activates @self.
This signal is emitted after the row has been activated.
Adds a prefix widget to @self.
Adds a suffix widget to @self.
Get the main Gtk struct
Gets the widget activated when @self is activated.
Gets the icon name for @self.
the main Gtk struct as a void*
Gets the subtitle for @self.
Gets the number of lines at the end of which the subtitle label will be ellipsized.
Gets the number of lines at the end of which the title label will be ellipsized.
Removes a child from @self.
Sets the widget to activate when @self is activated.
Sets the icon name for @self.
Sets the subtitle for @self.
Sets the number of lines at the end of which the subtitle label will be ellipsized.
Sets the number of lines at the end of which the title label will be ellipsized.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Gets the title of the preference represented by @self.
Gets whether the user can copy the title from the label
Gets whether an embedded underline in the title indicates a mnemonic.
Sets the title of the preference represented by @self.
Sets whether the user can copy the title from the label
Sets whether an embedded underline in the title indicates a mnemonic.
A [class@Gtk.ListBoxRow] used to present actions.
<picture> <source srcset="action-row-dark.png" media="(prefers-color-scheme: dark)"> <img src="action-row.png" alt="action-row"> </picture>
The AdwActionRow widget can have a title, a subtitle and an icon. The row can receive additional widgets at its end, or prefix widgets at its start.
It is convenient to present a preference and its related actions.
AdwActionRow is unactivatable by default, giving it an activatable widget will automatically make it activatable, but unsetting it won't change the row's activatability.
AdwActionRow as GtkBuildable
The AdwActionRow implementation of the [iface@Gtk.Buildable] interface supports adding a child at its end by specifying “suffix” or omitting the “type” attribute of a <child> element.
It also supports adding a child as a prefix widget by specifying “prefix” as the “type” attribute of a <child> element.
CSS nodes
AdwActionRow has a main CSS node with name row.
It contains the subnode box.header for its main horizontal box, and box.title for the vertical box containing the title and subtitle labels.
It contains subnodes label.title and label.subtitle representing respectively the title label and subtitle label.